package com.ls.mapper;

import com.ls.entity.Customer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * C端用户表 Mapper 接口
 * </p>
 *
 * @author pengyu
 * @since 2023-03-15
 */
public interface CustomerMapper extends BaseMapper<Customer> {
    BigDecimal selectSumConsumeAmount(@Param("start") String start,
                                      @Param("end") String end);
}
